home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / util / misc / halt.rea < prev    next >
Text File  |  1995-10-06  |  2KB  |  34 lines

  1. Short:    Shutdown command & library for AmigaDOS
  2. Author:   fasten@shw.com (Bernhard Fastenrath)
  3. Uploader: fasten@shw.com (Bernhard Fastenrath)
  4. Version:  2.0
  5. Type:     util/libs
  6. Replaces: util/libs/shutdown.lzh
  7.  
  8. This library was originally released as shutdown.library. It has been
  9. renamed to halt.library because Olaf Barthel (olsen@sourcery.han.de)
  10. wrote a shutdown.library several years ago (util/boot/Shutdown2_0.lha).
  11. Olaf offered me to continue his shutdown.library but I haven't yet
  12. decided how to combine the libraries. They both use different approaches
  13. and have different interfaces to do roughly the same. If one of them
  14. becomes obsolete in future the other one will remain available as a
  15. compatibility interface.
  16.  
  17. halt.library broadcasts shutdown messages to applications which use it.
  18. Source and binaries for SAS/C and GCC. Recompilation with GCC requires a
  19. patch to libnix (libinit.o) which will be included with libnix 1.1. It may
  20. be distributed under the terms of the GNU Library General Public License.
  21.  
  22. Included with the library are the shutdown and sdwarn utilities.
  23. Shutdown is a program like the UNIX shutdown command which sends regular
  24. shutdown messages through the halt.library and shuts down the machine after
  25. the given period. A running shutdown can be cancelled with the "-c" option
  26. or by sending a CTRL-C to the running shutdown. The sdwarn program is an
  27. example client for the halt.library which can be used to broadcast messages
  28. to other CLIs. One possible application is to "run sdwarn -c $process" from
  29. the remote-login script of the AmiTCP telnet demon. When started with the
  30. "-c" option sdwarn monitors the CLI specified by the "-c" option and exits
  31. when the CLI has disappeared. This does not work when telnetd is exited
  32. with "q" from the "telnet> " prompt!
  33.  
  34.